package com.qf.mybatis01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data //会为当前实体类自动生成get/set 和toString方法
@AllArgsConstructor//会为当前实体类生成全参构造
@NoArgsConstructor//提供无参构造
public class User {
   private Integer id;
   private String name;
   private String password;
   private String sex;
   private Date birthday;
   private Date registTime;
   private String auth;
}
